<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="static/css/tailwind.css">
    <link rel="stylesheet" href="static/css/next.css">
    <title>ContainerLab Topology {{ .Name }}</title>
</head>

<body>
    <div class="bg-white flex relative items-center h-screen w-screen">
        <div class="container mx-auto px-6 flex flex-col justify-between items-center relative h-full w-full">
            <!-- Heading -->
            <div class="flex flex-col">
                <h1 class="font-thin text-center text-4xl text-gray-500 py-6 w-full">
                    ContainerLab Topology <span class="uppercase font-light text-[#0386d2]">{{ .Name }}</span>
                </h1>
                <!-- Layout buttons -->
                <div class="flex items-center justify-center">
                    <button type="button" id="h-btn" onclick="horizontal()"
                        class="w-full border border-[#0386d2] text-base font-normal rounded-l-md text-[#0386d2] shadow-md hover:text-white hover:bg-[#0386d2] px-4 py-2">
                        Horizontal Layout
                    </button>
                    <button type="button" id="v-btn" onclick="vertical()"
                        class="w-full border-t border-b border-r border-[#0386d2] text-base font-normal rounded-r-md text-[#0386d2] shadow-md hover:text-white hover:bg-[#0386d2] px-4 py-2">
                        Vertical Layout
                    </button>
                </div>
            </div>
            <!-- Next UI attachment -->
            <div id="clab-topology" class="mt-6 mb-6 w-full h-full">
            </div>
        </div>
    </div>

    <script>
        var data = '{{ .Data }}'
    </script>
    <script src="static/js/next.js"></script>
    <script src="static/js/script.js"></script>

</body>

</html>